home *** CD-ROM | disk | FTP | other *** search
-
-
-
- C L O C K 4 0
-
- by David Zammat
-
-
- This is one of the first 40-column programs we've had in a long time.
- It uses DOODLE pics to show one of four stylish clocks on the 40-column
- screen and then uses the BASIC 7.0 DRAW command to draw hands on the clock.
- These move according to the internal clock of the computer, effectively
- turning your C-128 into a big mantel clock. Since it's nice for a computer
- program to do something that a "real life" object can't, there's the option
- of having a digital readout appear in the top left part of the screen.
-
- David Zammat wrote several versions of this program on the way to the
- final version. At first, he used an unusual (yet sophisticated) method of
- saving the variable tables in BANK1 as a file to be loaded. He used a
- special version of the program to create the numerous variables the program
- uses, then saved BANK1. Then, his next version simply had to BLOAD the
- variable file rather than re-create them. It sped up set-up time a lot.
-
- However, I wasn't content to have just one clock, so I digitized three
- more clocks (using HandyScanner and DOODLE) and asked him to redo the
- program so the user would have a choice of clocks. David came through with
- some more programming expertise and now you have a choice of clocks, a
- digital clock, and a very interesting program. He also figured out a way to
- use DATA statements in the program without slowing the program down too
- much.
-
- The program is straightforward. Pick one of the clocks and enter the
- current time. Then choose to have a digital clock (or not) and sit back and
- enjoy. The program even has sound. It beeps higher as the second hand
- approaches 12. If you want to exactly synchronize the clock with another,
- the program waits for you to press a key before really starting.
-
- The orange background looks great on one of my monitors and lousy on the
- other. If you want to change colors change the 9s in line 72 to something
- else.
-
- David did a great job of handling all of the data for each hand on each
- clock. I'm looking forward to seeing more programs by him in the future.
-
- FT
-
- \\\\\ R - Run RETURN - Menu \\\\\
-
-